import 'package:ls_work/net/response/response_data.dart';

class MedicalRecordList extends BaseListData{
  String? city;
  String? creator;
  String? medicalTimeTypeName;
  String? medicalTreatment;
  String? medicalPlanName;
  String? medicalCause;
  String? branch;
  String? customer;
  String? medicalReasons;
  String? diagnosis;
  String? leaveTime;
  String? backTime;
  String? accCode;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
  int? cityId;
  int? customerId;
  int? medicalTimeType;
  int? medicalTreatmentType;
  int? medicalPlan;
  int? medicalCauseType;
  int? branchId;
  int? tenantId;
  int? saasId;
  int? id;

  MedicalRecordList({this.city, this.creator, this.medicalTimeTypeName, this.medicalTreatment, this.medicalPlanName, this.medicalCause, this.branch, this.customer, this.medicalReasons, this.diagnosis, this.leaveTime, this.backTime, this.accCode, this.createdBy, this.createdDate, this.updatedBy, this.updatedDate, this.cityId, this.customerId, this.medicalTimeType, this.medicalTreatmentType, this.medicalPlan, this.medicalCauseType, this.branchId, this.tenantId, this.saasId, this.id});

  MedicalRecordList.fromJson(Map<String, dynamic> json) {    
    this.city = json['city'];
    this.creator = json['creator'];
    this.medicalTimeTypeName = json['medicalTimeTypeName'];
    this.medicalTreatment = json['medicalTreatment'];
    this.medicalPlanName = json['medicalPlanName'];
    this.medicalCause = json['medicalCause'];
    this.branch = json['branch'];
    this.customer = json['customer'];
    this.medicalReasons = json['medicalReasons'];
    this.diagnosis = json['diagnosis'];
    this.leaveTime = json['leaveTime'];
    this.backTime = json['backTime'];
    this.accCode = json['accCode'];
    this.createdBy = json['createdBy'];
    this.createdDate = json['createdDate'];
    this.updatedBy = json['updatedBy'];
    this.updatedDate = json['updatedDate'];
    this.cityId = json['cityId'];
    this.customerId = json['customerId'];
    this.medicalTimeType = json['medicalTimeType'];
    this.medicalTreatmentType = json['medicalTreatmentType'];
    this.medicalPlan = json['medicalPlan'];
    this.medicalCauseType = json['medicalCauseType'];
    this.branchId = json['branchId'];
    this.tenantId = json['tenantId'];
    this.saasId = json['saasId'];
    this.id = json['id'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['city'] = this.city;
    data['creator'] = this.creator;
    data['medicalTimeTypeName'] = this.medicalTimeTypeName;
    data['medicalTreatment'] = this.medicalTreatment;
    data['medicalPlanName'] = this.medicalPlanName;
    data['medicalCause'] = this.medicalCause;
    data['branch'] = this.branch;
    data['customer'] = this.customer;
    data['medicalReasons'] = this.medicalReasons;
    data['diagnosis'] = this.diagnosis;
    data['leaveTime'] = this.leaveTime;
    data['backTime'] = this.backTime;
    data['accCode'] = this.accCode;
    data['createdBy'] = this.createdBy;
    data['createdDate'] = this.createdDate;
    data['updatedBy'] = this.updatedBy;
    data['updatedDate'] = this.updatedDate;
    data['cityId'] = this.cityId;
    data['customerId'] = this.customerId;
    data['medicalTimeType'] = this.medicalTimeType;
    data['medicalTreatmentType'] = this.medicalTreatmentType;
    data['medicalPlan'] = this.medicalPlan;
    data['medicalCauseType'] = this.medicalCauseType;
    data['branchId'] = this.branchId;
    data['tenantId'] = this.tenantId;
    data['saasId'] = this.saasId;
    data['id'] = this.id;
    return data;
  }

}
